const http = uni.$u.http;

// 个人直推人数 /api/stb.reward2/personalRecommend
export const apiPersonalRecommend = (data) => http.get('/stb.reward2/personalRecommend', data)

// 团队直推人数[包含自己] /api/stb.reward2/teamRecommend
export const apiTeamRecommend = (data) => http.get('/stb.reward2/teamRecommend', data)

// 个人收益数据(贡献人是自己) /api/stb.reward2/personalRewardLog
export const apiPersonalRewardLog = (data) => http.get('/stb.reward2/personalRewardLog', data)

// 团队收益数据[包含自己] /api/stb.reward2/teamRewardLog
export const apiTeamRewardLog = (data) => http.get('/stb.reward2/teamRewardLog', data)

// 个人设备跑量数据 /api/stb.reward2/personalBandwidth
export const apiPersonalBandwidth = (data) => http.get('/stb.reward2/personalBandwidth', data)

// 团队设备跑量数据[包含自己] /api/stb.reward2/teamBandwidth
export const apiTeamBandwidth = (data) => http.get('/stb.reward2/teamBandwidth', data)
// export const apiFirstPay = (params = {}) => http.post('/stb.helipay/quick_pay_first_pay_confirm_pay', params)